<?php
/**
 * Created by PhpStorm.
 * User: venki
 * Date: 2023/11/15
 * Time: 17:46
 */

use yii\helpers\Html;
use yii\widgets\ActiveForm;

?>
<?php $form = ActiveForm::begin(); ?>

<?= $form->field($model, 'name')->label('名字') ?>

<?= $form->field($model, 'email')->label('邮箱') ?>

<?= $form->field($model, 'selected')->label('是否选择') ?>
<?= $form->field($model, 'deleted')->label('是否删除') ?>

    <div class="form-group">
        <?= Html::submitButton('Submit', ['class' => 'btn btn-primary']) ?>
    </div>

<?php ActiveForm::end(); ?>